#region Using

using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Text;

using Gizmox.WebGUI.Common;
using Gizmox.WebGUI.Forms;

#endregion

namespace Bronze.ReportBuilder.BusinessComponent
{
    public partial class LabelComboTree : LabelFormControl
    {
        public LabelComboTree()
        {
            InitializeComponent();
        }


        public override Control HostControl
        {
            get
            {
                return this.comboBox;
            }
        }

        public override bool AllowSelectMore
        {
            get
            {
                return false;
            }
        }

        public override object Value
        {
            get
            {
                return this.comboBox.SelectedValue;
            }
            set
            {
                this.comboBox.SelectedValue = value;
            }
        }

        public override Control Create(string name)
        {
            return new LabelComboTree();
        }
    }
}